package com.jt.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data

@TableName("METERAGE_EVERDAY_MANAGEMENT_CHILDREN")
public class MeterageEverdayManagement_children {

    @TableField(value = "id")
    private String id;

    /*日指定ID*/
    @TableField(value = "pid")
    private String pid;

    /*客户*/
    @TableField(value = "customerName")
    private String customerName;

    /*管线*/
    @TableField(value = "pipeline")
    private String pipeline;

    @TableField(exist = false)
    private String pipeline_dext;

    /*场站*/
    @TableField(value = "STATION")
    private String station;

    @TableField(exist = false)
    private String station_dext;


    /*日指定总量*/
    @TableField(value = "timeCount")
    private String timeCount;


    /*分输完成率*/
    @TableField(value = "complete")
    private String complete;

    /*分输量*/
    @TableField(value = "totalLoss")
    private String totalLoss;

    /*日期*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(value = "TIME_DATA")
    private Date timeData;
}
